import { configureStore } from '@reduxjs/toolkit'
import userStore from './models/user'

export const store = configureStore({
  reducer: {
    userStore: userStore
  }
})

export type RootState = ReturnType<typeof store.getState>
export type Dispatch = typeof store.dispatch